const express = require("express");
const apiRouter = express.Router();
const { v4: uuidv4 } = require("uuid");

// 获取唯一id
apiRouter.post("/getUuid", async (req, res) => {
  res.send({
    code: 20000,
    msg: "操作成功",
    data: uuidv4(),
  });
});

module.exports = apiRouter;
 